#ifndef QIMAGEPROCESSING_H
#define QIMAGEPROCESSING_H
#include <QObject>
#include <opencv2/opencv.hpp>

class QImageProcessing : public QObject
{
    Q_OBJECT
public:
    static QImageProcessing* instance();
    bool sortLinesHori(float line1, float line2);
    void traitementimage(cv::Mat &img);

signals:
    void envoi_txt(QString txt);

private:
    QImageProcessing();
    static QImageProcessing* m_instance;

};

#endif // QIMAGEPROCESSING_H
